package lec03.pm;
 abstract class LeiFeng{
	abstract void  give();
}
class GoodMan extends LeiFeng{
	@Override
	void give() {
		System.out.println("Good good study,day day up!");		
	}
	
}
public class AbstractDemo {
	public static void main(String[] args) {
		LeiFeng lf=new LeiFeng(){
			@Override
			void give() {
				System.out.println("I help somebody!");				
			}			
		};
	}

}
